#define _CRT_SECURE_NO_WARNINGS 1


#include <stdio.h>

int main()
{
	int year = 0;
	scanf("%d", &year);
	if ((0 == year % 400) || ((0 == year % 4) && (0 != year % 100)))
	{
		printf("yes\n");
	}
	else
	{
		printf("no\n");
	}

	return 0;
}